//
//  EXObjectProxy.h
//  ORM
//
//  Created by PH on 21.12.09.
//  Copyright 2009-2010 Codesign. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "EXMappableObject.h"
#import "EXObjectStore.h"

@interface EXObjectProxy : NSObject
#ifndef MB_IPHONE
#if MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_5
<NSDiscardableContent>
#endif
#endif
{
	NSString* __objectID;
	NSObject* __object;
	EXObjectStore* __objectStore;
	unsigned __counter;
}

- (id)initWithObjectID:(NSString*)_objectID objectStore:(EXObjectStore*)_objectStore;
- (NSObject*)__object;
- (NSString*)__objectID;
- (BOOL)__isActivated;

@end
